package com.iweb.user.model;

public class User {
    private Integer userid;
    private String username;
    private String userfullname;
    private String password;
    private String phone;

    // 无参构造方法
    public User() {
    }

    // 有参构造方法
    public User(Integer userid, String username, String userfullname, String password, String phone) {
        this.userid = userid;
        this.username = username;
        this.userfullname = userfullname;
        this.password = password;
        this.phone = phone;
    }

    // getter和setter方法
    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserfullname() {
        return userfullname;
    }

    public void setUserfullname(String userfullname) {
        this.userfullname = userfullname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "User{" +
                "userid=" + userid +
                ", username='" + username + '\'' +
                ", userfullname='" + userfullname + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
